
public class Slave extends Master {
	
	public Slave() {
		super();
	}
	
	protected void protectedFn() {
		System.out.println("Slave protected");
	}
	
	private void privateFn() {
		System.out.println("Slave private");
	}
	
	public void doIt() {
		protectedFn();
		privateFn();
	}
}
